﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <!-- Loading Bootstrap -->
    <link href="bootstrap/css/bootstrap.css" rel="stylesheet">

    <!-- Loading Flat UI -->
    <link href="css/flat-ui.css" rel="stylesheet">

    <link rel="shortcut icon" href="images/logoSmall.png">

    <title>七彩云运营方管理中心</title>
<style>
body{
  background-attachment: fixed;
   background-repeat:no-repeat;
   background-position:center;
   background-position:top;
    background-size: 100%;
  font-family: 幼圆;
  color: white;
  margin: 0 auto;
  width: 100%;
}
.todo li{
    background-color: black;
    background:rgba(0, 0, 0, 0.3);
    border-radius: 10px 10px 10px 10px;
}
.todo-name1{
    font-family:幼圆;font-size:16px;position:relative;top:-3px;padding: 0.1px;margin-left: 0.1px;
}
.xljform{
  background: rgba(255,255,255,0.3);position:relative;top:10px;width:500px;left: 120px;border-radius: 0 0 20px 20px;
}
.xljhide{
  color:#ec7063;
}
.blocktop{
  background: rgba(255,255,255,0.5);border-radius: 20px 20px 0 0;padding: 0 0 0 auto;position:relative;top:10px;width:500px;left: 120px;
  color: white;text-align: center;
}
.mytable{
   color: white;width: 800px;background: rgba(0,0,0,0);
}
.form-control {
    background-color: black;
    background: rgba(0,0,0,0);
    color: white;
  }

.tile {
    background-color: black;background: rgba(0,0,0,0.2);
}
.mybtn{
  border-radius: 60px;background: rgba(0,0,0,0);border:2px solid ;height:120px;width: 120px;font-size: 24px;padding:10px;text-align: center;vertical-align: center;

}
.mymodal{
    color: gray;
}
</style>
    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="assets/js/ie-emulation-modes-warning.js"></script>

    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="assets/js/ie10-viewport-bug-workaround.js"></script>


    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>

<body style="overflow-x:hidden; " background="./images/sj/sj_bg.jpg">
    
        <!--导航-->
        <div class="container-fluid">
            <div class="navbar navbar-inverse navbar-fixed-top" role="navigation" style="background-color:#010101;background: rgba(0, 0 ,0, 0);height:20px;" id="daohang">
            <div class="navbar-collapse collapse">
                <ul class="nav navbar-nav navbar-right">
                    <li><a href="#">七彩云首页</a></li>
                    <li><a href="#">欢迎您</a></li>
                    <li><a id="zlz_manager">zlz</a></li>
                    <li><a href="#">帮助</a></li>
                </ul>
                <!--<form class="navbar-form navbar-right">
                  <input type="text" class="form-control" placeholder="Search...">
                </form>-->
            </div>
        </div>
    </div>
    <!--zlz:具体内容-->
    <div class="container-fluid">
        <div class="row">
            <!--zlz:侧边栏-->
            <div class=" col-md-2  panel-group" style="top:50px;left:20px;float:left;position:fixed;z-index=999" id="accordion">
                <div class="todo">
                    <img src="./images/yyf_logo.png" style="width:160px; height:60px;;position:relative;left:20px;top:-20px;" id="viplogo"> </img>
                    <ul>
                        <li class="todo-done" href="#shenqing_list_anchor" style="height:45px;" id="mydaohang1">
                            <div class="todo-icon fui-user" style="position:relative;top:-20px;"></div>
                            <div class="todo-content">
                                <h4 class="todo-name todo-name1">
                                    入盟申请审核
                                </h4>
                            </div>
                        </li>
                        <li href="#shangjia_manage"  style="height:45px;" id="mydaohang2">
                            <div class="todo-icon fui-list" style="position:relative;top:-20px;"></div>
                            <div class="todo-content">
                                <h4 class="todo-name todo-name1">
                                    商家管理
                                </h4>
                            </div>
                        </li>
                        <li href="#shangjia_show_shenhe" style="height:45px;" id="mydaohang3">
                            <div class="todo-icon fui-eye" style="position:relative;top:-20px;"></div>
                            <div class="todo-content">
                                <h4 class="todo-name todo-name1">
                                    展示信息审核
                                </h4>
                            </div>
                        </li>
                        <li href="#get_card" style="height:45px;" id="mydaohang4">
                            <div class="todo-icon fui-user" style="position:relative;top:-20px;"></div>
                            <div class="todo-content">
                                <h4 class="todo-name todo-name1">
                                    会员卡领取
                                </h4>
                            </div>
                        </li>

                        <li href="#jifen_manage" style="height:45px;" id="mydaohang5">
                            <div class="todo-icon fui-list" style="position:relative;top:-20px;"></div>
                            <div class="todo-content">
                                <h4 class="todo-name todo-name1">
                                    积分消费管理
                                </h4>
                            </div>
                        </li>
                        <li href="#shangjia_info_anchor" style="height:45px;" id="mydaohang6">
                            <div class="todo-icon fui-eye" style="position:relative;top:-20px;"></div>
                            <div class="todo-content">
                                <h4 class="todo-name todo-name1">
                                    基础信息维护
                                </h4>
                            </div>
                        </li>
                    </ul>


                </div>

            </div>
            <div class="col-sm-9 col-sm-offset-4 col-md-10 col-md-offset-3 main" style="position:relative;top:100px;left:60px;">
                <!--zlz:入盟申请审核-->
            <div id="shenqing_list_anchor"  style="position:relative;top:-100px"></div>
            <div class="blocktop">
                    <legend>入盟申请审核</legend>
            </div>
            <div id="shenqing_list">
                <div class="xljform" style="padding:20px;">
                        <div class="control-group">
                            <div class="row">
                                <div class="col-sm-4" align="right">
                                     <label >选择申请状态：</label>
                                </div>
                                <div class="col-sm-8" style="width:300px;">
                                    <select name="herolist" value="待处理" class="select-block" id="select_apply_state">
                                        <option value="0">待处理</option>
                                        <option value="1">已通过</option>
                                        <option value="2">未通过</option>
                                        <option value="3">已分配</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <br>
                        <div class="row" align="center">
                                     <a href="#addSubcount_form">
                                          <button  type="button" class="btn btn-info" id="shenqing_list_Btn">查询</button>
                                     </a>
                        </div>
                </div>
                         <br><br>
                        <span><font size="4">当前共有4条申请记录</font></span>
                        <!--zlz：积分列表-->
                        <div class="mytable">
                            <table class="table" id="table_merchant_apply">
                                <tr>
                                    <th width="15%" style="text-align:center">申请编号</th>
                                    <th width="15%" style="text-align:center">商家名称</th>
                                    <th width="15%" style="text-align:center">申请状态</th>
                                    <th width="15%" style="text-align:center">分配人</th>
                                    <th width="20%" style="text-align:center">分配时间</th>
                                    <th width="20%" style="text-align:center">操作</th>
                                </tr>
                            </thead>
                            <tbody style="width:800px;">
                                <tr id="template_merchant_apply">
                                    <td style="text-align:center" id="merchant_apply_table_id"></td>
                                    <td style="text-align:center" id="merchant_apply_table_merchantname"></td>
                                    <td style="text-align:center" id="merchant_apply_table_state"></td>
                                    <td style="text-align:center" id="merchant_apply_table_person"></td>
                                    <td style="text-align:center" id="merchant_apply_table_time"></td>
                                    <td align="center" id="merchant_apply_table_operation"></td>
                                </tr>
                            </tbody>
                            </table>
                    </form>

                </div>
                
                <!--zlz:申请详情隐藏页面-->
                <!-- Modal -->
                <div class="modal fade" id="myModal_shenqing_xiangqing" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                    <div class="modal-dialog">
                        <div class="modal-content" style="color:black;">
                            <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                                <h4 class="modal-title" id="myModalLabel">申请详情</h4>
                            </div>
                            <div class="modal-body" style="height:350px;top:-50px">
                                <form action="#" onsubmit="">
                                    <div style="float:left;">
                                        <h2 class="sub-header"><font size="5">基本信息</font></h2>
                                        <!--zlz：查看申请概况-->
                                        <div class="control-group">
                                            <label>申请编号：001</label>
                                        </div>
                                        <div class="control-group">
                                            <label>企业名称：商家A</label>
                                        </div>
                                        <div class="control-group">
                                            <label>地址：武汉市武汉大学</label>
                                        </div>
                                        <div class="control-group">
                                            <label>企业类别：美食</label>
                                        </div>
                                        <div class="control-group">
                                            <label>电话：027-1234567</label>
                                        </div>
                                        <div class="control-group">
                                            <label>邮编：430000</label>
                                        </div>
                                        <div class="control-group">
                                            <label>消费积分比例：50%</label>
                                        </div>
                                    </div>
                                    <div style="float:left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
                                    <div style="float: left;">
                                        <h2 class="sub-header"><font size="5">联系人信息</font></h2>
                                        <!--zlz：查看申请概况-->
                                        <div class="control-group">
                                            <label>称谓：女士</label>
                                        </div>
                                        <div class="control-group">
                                            <label>姓名：张丽珠</label>
                                        </div>
                                        <div class="control-group">
                                            <label>职务：跑腿的</label>
                                        </div>
                                        <div class="control-group">
                                            <label>电话：13689395622</label>
                                        </div>
                                        <div class="control-group">
                                            <label>手机：13689395622</label>
                                        </div>
                                        <div class="control-group">
                                            <label>邮箱：1967346343@qq.com</label>
                                        </div>
                                    </div>
                                    <br>
                                </form>
                            </div>
                            <div class="modal-footer">
                                <div class="col-sm-offset-2 col-sm-10" style="left:-170px">
                                    <button type="submit" name="OK" value="审核通过" onclick="Agree()" class="btn btn-info" id="apply_success">审核通过</button>
                                    <button type="submit" name="OK" value="审核不通过" onclick="DisAgree()" class="btn btn-info" id="apply_fail">审核不通过</button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <!--zlz:分配账号隐藏界面-->
                <!-- Modal -->
                <div class="modal fade mymodal" id="myModal_fenpei_zhanghao" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                    <div class="modal-dialog">
                        <div class="modal-content">
                            <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                                <h4 class="modal-title" id="myModalLabel">分配账号</h4>
                            </div>
                            <div class="modal-body" style="height:100px;">
                                <form>
                                    <div class="control-group">
                                        <label class="control-label col-sm-4" for="input01">分配给商家的账号：</label>
                                        <div class="col-sm-8">
                                            <input placeholder="账号" class="form-control" type="text" id="apply_merchantaccount">
                                        </div>
                                    </div>
                                    <div class="control-group">
                                        <label class="control-label col-sm-4" for="input01">分配给商家的密码：</label>
                                        <div class="col-sm-8">
                                            <input placeholder="密码" class="form-control" type="password" id="apply_merchantpwd">
                                        </div>
                                    </div>
                                </form>
                            </div>
                            <div class="modal-footer">
                                <div class="col-sm-offset-2 col-sm-10" style="left:-200px">
                                    <button type="submit" onclick="Agree1()" class="btn btn-info" id="apply_sub">确认</button>
                                    <button type="submit" onclick="Cancle()" class="btn btn-info" id="apply_cancel">取消</button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <br><br><br><br><br><br><br><br><br>
                <!--:商家管理-->
                <div id="shangjia_manage"  style="position:relative;top:-100px"></div>
                <div class="blocktop">
                    <legend>商家管理</legend>
                </div>
                <div class="xljform" style="padding:20px;">
                        <div class="control-group">
                            <div class="row">
                                <div class="col-sm-4" align="right">
                                    <label>选择查询范围：</label>
                                </div>
                                <div class="col-sm-8"align="left">
                                    <select name="herolist" class="select-block" id="if_recommended">
                                         <option value="0">所有商家</option>
                                         <option value="1">推荐商家</option>
                                     </select>
                                </div>
                            </div>
                        </div>
                        <br>
                        <div class="row" align="center">
                            <a href="#addSubcount_form">
                                <button type="button" class="btn btn-info" id="sjsearch_list_Btn">查询</button>
                            </a>
                        </div>
                </div>
                <br><br>
                <span><font size="4">当前共有4条商家记录</font></span>
                <!--zlz：商家列表-->
                <div class="mytable">
                    <table class="table" id="table_merchant_manage">
                                <tr>
                                    <th width="15%" style="text-align:center">商家账号</th>
                                    <th width="15%" style="text-align:center">商家名称</th>
                                    <th width="30%" style="text-align:center">商家地址</th>
                                    <th width="15%" style="text-align:center">联系方式</th>
                                    <th width="25%" style="text-align:center">操作</th>
                                </tr>
                            </thead>
                            <tbody style="width:800px;">
                                <tr id="template_merchant_manage">
                                    <td style="text-align:center" id="merchant_manage_table_merchant_account"></td>
                                    <td style="text-align:center" id="merchant_manage_table_merchant_name"></td>
                                    <td style="text-align:center" id="merchant_manage_table_merchant_addr"></td>
                                    <td style="text-align:center" id="merchant_manage_table_merchant_phone"></td>
                                    <td align="center" id="merchant_manage_table_merchant_operation"></td>
                                </tr>
                            </tbody>
                    </table>
                </div>

                <!--zlz:商家详情隐藏页面-->
                <!-- Modal -->
                <div class="modal fade mymodal" id="myModal_shangjia_xiangqing" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                    <div class="modal-dialog">
                        <div class="modal-content">
                            <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                                <h4 class="modal-title" id="myModalLabel">商家详情</h4>
                            </div>
                            <div class="modal-body" style="height:350px;">
                                <form>
                                    <div class="control-group">
                                        <label>商家账号：001</label>
                                    </div>
                                    <div class="control-group">
                                        <label>商家名称：商家A</label>
                                    </div>
                                    <div class="control-group">
                                        <label>商家地址：武汉市洪山区珞瑜路52号</label>
                                    </div>
                                    <div class="control-group">
                                        <label>商家类别：美食</label>
                                    </div>
                                    <div class="control-group">
                                        <label>商家电话：027-1234567</label>
                                    </div>
                                    <div class="control-group">
                                        <label>商家启用：是</label>
                                    </div>
                                    <div class="control-group">
                                        <label>消费积分比例：10%</label>
                                    </div>
                                    <div class="control-group">
                                        <label>联系手机：13689395622</label>
                                    </div>
                                </form>
                            </div>
                            <div class="modal-footer">
                                <div class="col-sm-offset-2 col-sm-10" style="left:-200px">
                                    <a class="edit" href="#edit_shangjia"><button type="submit" class="btn btn-info" id="merchant_detail_edit"><font color="#fff">编辑</font></button></a>
                                    <a class="cancle_shangjia" href="#shangjia_list"><button type="submit" class="btn btn-info" id="merchant_detail_return"><font color="#fff">返回</font></button></a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>



                <!--zlz:编辑商家隐藏页面-->
                <!-- Modal -->
                <div class="modal fade mymodal" id="myModal_edit_shangjia" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                    <div class="modal-dialog">
                        <div class="modal-content">
                            <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                                <h4 class="modal-title" id="myModalLabel">修改商家信息</h4>
                            </div>
                            <div class="modal-body" style="height:350px;">
                                <form>
                                    <!--zlz：查看申请概况-->
                                    <div class="control-group">
                                        <!-- Text input-->
                                        <label class="control-label col-sm-3" for="input01">商家账号：</label>
                                        <div class="col-sm-9">
                                            <input value="001" class="form-control" type="text" style="width:300px" id="edit_merchant_accout">
                                        </div>
                                    </div>
                                    <div class="control-group">
                                        <!-- Text input-->
                                        <label class="control-label col-sm-3" for="input01">商家名称：</label>
                                        <div class="col-sm-9">
                                            <input value="商家A" class="form-control" type="text" style="width:300px" id="edit_merchant_name">
                                        </div>
                                    </div>
                                    <div class="control-group">
                                        <!-- Select Basic -->
                                        <label class="control-label col-sm-3">商家地址：</label>
                                        <div class="col-sm-9" style="left:-15px">
                                            <div class="col-sm-4">
                                                <select name="herolist" value="省" class="select-block" id="edit_merchant_province">
                                                    <option value="0">湖北省</option>
                                                    <option value="0">四川省</option>
                                                </select>
                                            </div>

                                            <div class="col-sm-4">
                                                <select name="herolist" value="市" class="select-block" id="edit_merchant_city">
                                                    <option value="0">武汉市</option>
                                                    <option value="0">孝感市</option>
                                                </select>
                                            </div>
                                            <div class="col-sm-4">
                                                <select name="herolist" value="区" class="select-block" id="edit_merchant_district">
                                                    <option value="0">武昌区</option>
                                                    <option value="0">汉口区</option>
                                                    <option value="0">汉阳区</option>
                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="control-group">
                                        <label class="control-label col-sm-3" for="input01">商家类型：</label>
                                        <div class="col-sm-9">
                                            <div class="col-xs-4" style="left:-15px">
                                                <select name="herolist" value="美食" class="select-block" id="edit_merchant_type">
                                                    <option value="0">美食</option>
                                                    <option value="1">酒店</option>
                                                    <option value="2">票价</option>
                                                    <option value="3">旅游</option>
                                                    <option value="4">购物</option>
                                                    <option value="5">娱乐</option>
                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="control-group">
                                        <!-- Text input-->
                                        <label class="control-label col-sm-3" for="input01">商家电话：</label>
                                        <div class="col-sm-9">
                                            <input value="商家电话：027-1234567" class="form-control" type="text" style="width:300px" id="edit_merchant_phone">
                                        </div>
                                    </div>

                                    <div class="control-group">
                                        <!-- Text input-->
                                        <label class="control-label col-sm-3" for="input01">消费积分比例：</label>
                                        <div class="col-sm-9">
                                            <input value="50%" class="form-control" type="text" style="width:300px;position:relative" id="edit_merchant_rate">
                                            <p class="help-block">请填写0到1之间任意值</p>
                                        </div>
                                    </div>
                                    <div class="control-group">
                                        <!-- Text input-->
                                        <label class="control-label col-sm-3" for="input01">商家启用：</label>
                                        <div class="col-sm-9">
                                            <input type="checkbox" data-toggle="switch" id="edit_merchant_use" />
                                        </div>
                                    </div>
                                </form>
                            </div>
                            <div class="modal-footer">
                                <div class="col-sm-offset-2 col-sm-10" style="left:-200px">
                                    <a class="success_edit_shangjia" href="#shangjia_list"><button type="submit" class="btn btn-info" id="edit_merchant_sub"><font color="#fff">确认</font></button></a>
                                    <a class="cancle_edit_shangjia" href="#shangjia_list"><button type="submit" class="btn btn-info" id="edit_merchant_cancel"><font color="#fff">取消</font></button></a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        <br><br><br><br><br><br><br><br><br>
            <!--zlz:商家展示信息审核-->
        <div id="zhanshi_list_anchor"  style="position:relative;top:-100px"></div>
        <div id="shangjia_show_shenhe">
            <div class="blocktop">
                <legend>商家展示信息审核</legend>
            </div>
            <div class="xljform" style="padding:20px;">
                <div class="control-group">
                    <div class="row">
                        <div class="col-sm-4" align="right">
                            <label >选择记录状态：</label>
                        </div>
                        <div class="col-sm-8" align="left">
                                <select name="herolist" class="select-block" id="showinfo_state">
                                    <option value="0">未审批</option>
                                    <option value="1">已通过</option>
                                    <option value="2">未通过</option>
                                </select>
                        </div>
                    </div>
                </div>
                <br>
                <div class="row" align="center">
                                <a href="#addSubcount_form">
                                        <button  type="button" class="btn btn-info" id="dislayinfo_change_Btn">查询</button>
                                </a>
                </div>
            </div>
            <br><br>
                    <span><font size="4">当前共有4条商家信息修改记录</font></span>
                    <!--修改列表-->
                    <div class="mytable">
                        <table class="table" id="table_showinfo">
                                <tr>
                                    <th width="15%" style="text-align:center">申请编号</th>
                                    <th width="15%" style="text-align:center">商家名称</th>
                                    <th width="15%" style="text-align:center">审批状态</th>
                                    <th width="15%" style="text-align:center">审批人</th>
                                    <th width="20%" style="text-align:center">审批时间</th>
                                    <th width="20%" style="text-align:center">操作</th>
                                </tr>
                            </thead>
                            <tbody style="width:800px;">
                                <tr id="template_product_info">
                                    <td style="text-align:center" id="product_info_id"></td>
                                    <td style="text-align:center" id="product_info_merchantname"></td>
                                    <td style="text-align:center" id="product_info_state"></td>
                                    <td style="text-align:center" id="product_info_person"></td>
                                    <td style="text-align:center" id="product_info_time"></td>
                                    <td align="center" id="product_info_operation"></td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
              

                <!--:商家展示信息修改审核隐藏-->
                <!-- Modal -->
                <div class="modal fade mymodal" id="myModal_shangjia_zhanshi_xiugai_xiangqing" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                    <div class="modal-dialog">
                        <div class="modal-content">
                            <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                                <h4 class="modal-title" id="myModalLabel">商家审核</h4>
                            </div>
                            <div class="modal-body" style="height:350px;top:-50px">
                                <form action="#" onsubmit="">
                                    <div style="float:left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
                                    <div style="float:left">
                                        <h2 class="sub-header"><font size="5">基本信息</font></h2>
                                        <!--zlz：查看申请概况-->
                                        <div class="control-group">
                                            <label>申请账号：001</label>
                                        </div>
                                        <div class="control-group">
                                            <label>商家名称：商家A</label>
                                        </div>
                                        <div class="control-group">
                                            <label>地址：武汉市武汉大学</label>
                                        </div>
                                        <div class="control-group">
                                            <label>商家类别：美食</label>
                                        </div>
                                        <div class="control-group">
                                            <label>电话：027-1234567</label>
                                        </div>
                                        <div class="control-group">
                                            <label>邮编：430000</label>
                                        </div>
                                        <div class="control-group">
                                            <label>消费积分比例：50%</label>
                                        </div>
                                    </div>
                                    <div style="float:left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
                                    <div style="float:left">
                                        <h2 class="sub-header"><font size="5">联系人信息</font></h2>
                                        <!--zlz：查看申请概况-->
                                        <div class="control-group">
                                            <label>称谓：女士</label>
                                        </div>
                                        <div class="control-group">
                                            <label>姓名：张丽珠</label>
                                        </div>
                                        <div class="control-group">
                                            <label>职务：跑腿的</label>
                                        </div>
                                        <div class="control-group">
                                            <label>电话：13689395622</label>
                                        </div>
                                        <div class="control-group">
                                            <label>手机：13689395622</label>
                                        </div>
                                        <div class="control-group">
                                            <label>邮箱：1967346343@qq.com</label>
                                        </div>
                                    </div>
                                </form>
                            </div>
                            <div class="modal-footer">
                                <div class="col-sm-offset-2 col-sm-10" style="left:-200px">
                                    <a class="success_edit_zhanshi" href="#zhanshi_list"><button type="submit" class="btn btn-info" id="btn_product_success"><font color="#fff">审核通过</font></button></a>
                                    <a class="cancle_edit_zhanshi" href="#zhanshi_list"><button type="submit" class="btn btn-info" id="btn_product_fail"><font color="#fff">审核不通过</font></button></a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>


                <!--zlz:商家展示信息修改查看隐藏-->
                <!-- Modal -->
                <div class="modal fade mymodal" id="myModal_shangjia_zhanshi_xiugai_chaxun" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                    <div class="modal-dialog">
                        <div class="modal-content">
                            <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                                <h4 class="modal-title" id="myModalLabel">展示信息修改查询</h4>
                            </div>
                            <div class="modal-body" style="height:400px;top:-50px">
                                <form action="#" onsubmit="">
                                    <div style="float:left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
                                    <div style="float:left">
                                        <h2 class="sub-header"><font size="5">基本信息</font></h2>
                                        <!--zlz：查看申请概况-->
                                        <div class="control-group">
                                            <label>审核状态：已通过</label>
                                        </div>
                                        <div class="control-group">
                                            <label>申请账号：001</label>
                                        </div>
                                        <div class="control-group">
                                            <label>商家名称：商家A</label>
                                        </div>
                                        <div class="control-group">
                                            <label>地址：武汉市武汉大学</label>
                                        </div>
                                        <div class="control-group">
                                            <label>商家类别：美食</label>
                                        </div>
                                        <div class="control-group">
                                            <label>电话：027-1234567</label>
                                        </div>
                                        <div class="control-group">
                                            <label>邮编：430000</label>
                                        </div>
                                        <div class="control-group">
                                            <label>消费积分比例：50%</label>
                                        </div>
                                    </div>
                                    <div style="float:left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
                                    <div style="float:left">
                                        <h2 class="sub-header"><font size="5">联系人信息</font></h2>
                                        <!--zlz：查看申请概况-->
                                        <div class="control-group">
                                            <label>称谓：女士</label>
                                        </div>
                                        <div class="control-group">
                                            <label>姓名：张丽珠</label>
                                        </div>
                                        <div class="control-group">
                                            <label>职务：跑腿的</label>
                                        </div>
                                        <div class="control-group">
                                            <label>电话：13689395622</label>
                                        </div>
                                        <div class="control-group">
                                            <label>手机：13689395622</label>
                                        </div>
                                        <div class="control-group">
                                            <label>邮箱：1967346343@qq.com</label>
                                        </div>
                                    </div>
                                    <br>
                                </form>
                            </div>
                            <div class="modal-footer">
                                <div class="col-sm-offset-2 col-sm-10" style="left:-250px">
                                    <a class="goback_zhanshi_list" href="#zhanshi_list"><button type="submit" class="btn btn-info" id="product_return"><font color="#fff">返回列表</font></button></a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>


                
            <br><br><br><br><br><br><br><br><br>
                <!--:会员卡领取登记-->
            <div id="get_card"  style="position:relative;top:-100px"></div>
            <div class="blocktop">
                <legend>会员卡领取登记</legend>
            </div>
            <div class="xljform" style="padding:20px;">
                <div class="control-group">
                    <div class="row">
                        <div class="col-sm-6" align="right">
                            <a data-toggle="modal" data-target="#myModal_register_card" class="btn btn-block btn-lg btn-warning mybtn" >
                                <label style="position:relative;top:20px;font-size:20px;cursor:pointer;">领取登记</label></a>
                        </div>
                        <div class="col-sm-6" align="left">
                            <a data-toggle="modal" data-target="#myModal_get_card_history" class="btn btn-large btn-block btn-success mybtn" id="list_receivehistory">
                                 <label style="position:relative;top:20px;font-size:20px;cursor:pointer;">领取历史</label></a>
                        </div>
                    </div>
                </div>
            </div>

                <!--zlz:会员卡领取隐藏界面-->
            <!-- Modal -->
            <div class="modal fade mymodal" id="myModal_register_card" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                            <h4 class="modal-title" id="myModalLabel">领取登记</h4>
                            <span><font size="4">请填写会员卡领取记录</font></span>
                        </div>
                        <div class="modal-body" style="height:300px; color:black;">
                            <form>
                                <div class="control-group">
                                    <!-- Text input-->
                                    <label class="control-label col-sm-3" for="input01">商家账号：</label>
                                    <div class="col-sm-9">
                                        <input value="001" class="form-control" type="text" style="width:300px" id="receive_merchant_account">
                                    </div>
                                </div>
                                <div class="control-group">
                                    <!-- Text input-->
                                    <label class="control-label col-sm-3" for="input01">商家名称：</label>
                                    <div class="col-sm-9" >
                                        <input value="商家A" class="form-control" type="text" style="width:300px" id="receive_merchant_name">
                                    </div>
                                </div>
                                <div class="control-group">
                                    <!-- Text input-->
                                    <label class="control-label col-sm-4" for="input01">领取会员卡数量：</label>
                                    <div class="col-sm-8" style="left:-50px">
                                        <input value="100张" class="form-control" type="text" style="width: 70px; position: relative; float: left" id="VipCardGetInfo_nReceiveNum">
                                    </div>
                                </div>
                                <div class="control-group">
                                    <!-- Text input-->
                                    <label class="control-label col-sm-3" for="input01">卡号段：</label>
                                    <div class="col-sm-9">
                                        <input value="110" class="form-control col-sm-4" type="text" style="width:70px;position:relative;disabled=" disabled id="receive_pre_cardsection">
                                        <label class="control-label col-sm-1" for="input01" >至</label>
                                        <input value="210" class="form-control col-sm-4" type="text" style="width: 70px; position: relative;l" disabled="disabled" id="receive_suf_cardsection">
                                    </div>
                                </div>

                                <div class="control-group">
                                    <!-- Text input-->
                                    <label class="control-label col-sm-3" for="input01">领取时间：</label>
                                    <div class="col-sm-9">
                                        <input value="2014-7-12" class="form-control" type="text" style="width:300px;position:relative" id="VipCardGetInfo_dtCollectionTime">
                                    </div>
                                </div>

                                <div class="control-group">
                                    <!-- Text input-->
                                    <label class="control-label col-sm-3" for="input01">领取人：</label>
                                    <div class="col-sm-9">
                                        <input value="张丽珠" class="form-control" type="text" style="width:300px;position:relative" id="VipCardGetInfo_strHandled">
                                    </div>
                                </div>

                                <div class="control-group">
                                    <!-- Text input-->
                                    <label class="control-label col-sm-3" for="input01">操作人：</label>
                                    <div class="col-sm-9" >
                                        <input value="小小的珠" class="form-control" type="text" style="width:300px;position:relative" id="VipCardGetInfo_strOperator">
                                    </div>
                                </div>
                            </form>
                        </div>
                        <div class="modal-footer">
                            <div class="col-sm-offset-2 col-sm-10" >
                                <a class="success_get_card" href="#get_card"><button type="submit" class="btn btn-info" id="btn_receive_sub"><font color="#fff">领取</font></button></a>
                                <a class="cancle_get_card" href="#get_card"><button type="submit" class="btn btn-info" id="btn_receive_return"><font color="#fff">返回</font></button></a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>


            <!--zlz:会员卡领取历史隐藏界面-->
            <!-- Modal -->
            <div class="modal fade mymodal" id="myModal_get_card_history" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                <div class="modal-dialog">
                    <div class="modal-content" style="color:black;">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                            <h4 class="modal-title" id="myModalLabel">领取历史查询</h4>
                            <span><font size="4">当前共有4条领取记录</font></span>
                        </div>
                        <div class="modal-body" style="height:350px;">
                            <div class="mytable">
                                <table class="table " table_get_card_history>
                                <tr>
                                    <th width="13%" style="text-align:center">商家账号</th>
                                    <th width="14%" style="text-align:center">商家名称</th>
                                    <th width="13%" style="text-align:center">领取数量</th>
                                    <th width="16%" style="text-align:center">领取卡号段</th>
                                    <th width="16%" style="text-align:center">领取时间</th>
                                    <th width="14%" style="text-align:center">领取人</th>
                                    <th width="14%" style="text-align:center">操作人</th>
                                </tr>
                            </thead>
                            <tbody style="width:800px;">
                                <tr id="template_getcard_history">
                                    <td style="text-align:center" id="getcard_history_merchant_account"></td>
                                    <td style="text-align:center" id="getcard_history_merchant_name"></td>
                                    <td style="text-align:center" id="getcard_history_number"></td>
                                    <td style="text-align:center" id="getcard_history_cardsection"></td>
                                    <td style="text-align:center" id="getcard_history_time"></td>
                                    <td style="text-align:center" id="getcard_history_receipter"></td>
                                    <td style="text-align:center" id="getcard_history_operator"></td>
                                </tr>
                            </tbody>
                                </table>
                            </div>
                        </div>
                        <div class="modal-footer">
                            <div class="col-sm-offset-2 col-sm-10">
                                <a class="cancle_get_card_history" href="#get_card"><button type="submit" class="btn btn-info" id="cardrecord_return"><font color="#fff">返回</font></button></a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
               

            <br><br><br><br><br><br><br><br><br>
            <div id="jifen_manage"  style="position:relative;top:-100px"></div>
            <div class="blocktop">
                <legend>积分消费管理</legend>
            </div>
            <div class="xljform" style="padding:20px;">
                <div class="control-group">
                    <div class="row" align="center">
                            <a href="#addSubcount_form">
                                <button  type="button" class="btn btn-info" id="point_shopping_Btn">查询</button>
                            </a>
                    </div>
                </div>
            </div>
                <br><br>
                <span><font size="4">当前共有4条积分消费记录</font></span>
                <!--zlz：积分消费列表-->
                <div class="mytable">
                    <table class="table" id="table_points_history">
                        <tr>
                            <th width="15%" style="text-align:center">消费时间</th>
                            <th width="13%" style="text-align:center">原有积分</th>
                            <th width="13%" style="text-align:center">消费数量</th>
                            <th width="20%" style="text-align:center">消费操作</th>
                            <th width="13%" style="text-align:center">实体店</th>
                            <th width="13%" style="text-align:center">操作员</th>
                            <th width="13%" style="text-align:center">结余积分</th>
                        </tr>
                    </thead>
                    <tbody style="width:800px;">
                        <tr id="template_points_history">
                            <td style="text-align:center" id="points_history_time"></td>
                            <td style="text-align:center" id="points_history_first_points"></td>
                            <td style="text-align:center" id="points_history_cost_points"></td>
                            <td style="text-align:center" id="points_history_cost_ways"></td>
                            <td style="text-align:center" id="points_history_shop"></td>
                            <td style="text-align:center" id="points_history_operator"></td>
                            <td style="text-align:center" id="points_history_last_points"></td>
                        </tr>
                    </tbody>
                    </table>
                </div>

            <br><br><br><br><br><br><br><br><br>
                <!--:基础信息维护-->
            <div id="shangjia_info_anchor"  style="position:relative;top:-100px"></div>
            <div class="blocktop">
                <legend>基础信息维护</legend>
            </div>
            <div class="xljform" style="padding:20px;">
                <div class="control-group">
                    <div class="row" align="center">
                        <div class="col-sm-6" align="right">
                            <a data-toggle="modal" data-target="#myModal_shangjia_xiangqing" class="btn btn-block btn-lg btn-warning mybtn" >
                                <label style="position:relative;top:20px;font-size:20px;cursor:pointer;">
                                    商家信息
                                </label>
                            </a>
                        </div>
                        <div class="col-sm-6" align="left">
                            <a  data-toggle="modal" data-target="#myModal_shangjia_xiangqing" class="btn btn-large btn-block btn-success mybtn" id="list_receivehistory">
                                 <label style="position:relative;top:20px;font-size:20px;cursor:pointer;">
                                    礼品信息
                                </label>
                            </a>
                        </div>
                    </div>
                    <br>
                    <div class="row" align="center">
                        <a href="#addSubcount_form">
                            <button  type="button" class="btn btn-info" id="sj_details_list_Btn">查询</button>
                        </a>
                    </div>
                </div>
            </div>
                <!--:商家基本信息列表-->
                <div id="shangjia_basic_info_list">
                 <br><br>
                <!--：商家基本信息列表-->
                    <span><font size="4">当前共有6条商家记录</font></span>
                <div class="mytable">
                    <table class="table" id="table_merchant_info">
                        <tr>
                            <th width="13%" style="text-align:center">商家编号</th>
                            <th width="13%" style="text-align:center">商家名称</th>
                            <th width="12%" style="text-align:center">商家类别</th>
                            <th width="12%" style="text-align:center">星级</th>
                            <th width="15%" style="text-align:center">商家地址</th>
                            <th width="15%" style="text-align:center">联系方式</th>
                            <th width="20%" style="text-align:center">操作</th>
                        </tr>
                    </thead>
                    <tbody style="width:800px;">
                        <tr id="template_merchant_info">
                            <td style="text-align:center" id="merchant_info_merchant_id"></td>
                            <td style="text-align:center" id="merchant_info_merchant_name"></td>
                            <td style="text-align:center" id="merchant_info_merchant_type"></td>
                            <td style="text-align:center" id="merchant_info_merchant_star"></td>
                            <td style="text-align:center" id="merchant_info_merchant_addr"></td>
                            <td style="text-align:center" id="merchant_info_merchant_phone"></td>
                            <td align="center" id="merchant_info_merchant_operation"></td>
                        </tr>
                    </tbody>
                    </table>
                </div>
                    </div>


                <!--zlz:商家基本信息隐藏-->
            <!-- Modal -->
            <div class="modal fade" id="myModal_shangjia_basic_info" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                <div class="modal-dialog">
                    <div class="modal-content" style="color:black;">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                            <h4 class="modal-title" id="myModalLabel">商家基本信息</h4>
                        </div>
                        <div class="modal-body" style="height:450px;">
                            <form>
                                <div class="control-group">
                                    <label>商家账号：001</label>
                                </div>
                                <div class="control-group">
                                    <label>商家名称：商家A</label>
                                </div>
                                <div class="control-group">
                                    <label>商家地址：武汉市洪山区珞瑜路52号</label>
                                </div>
                                <div class="control-group">
                                    <label>商家类别：美食</label>
                                </div>
                                <div class="control-group">
                                    <label>商家电话：027-1234567</label>
                                </div>
                                <div class="control-group">
                                    <label>商家启用：是</label>
                                </div>
                                <div class="control-group">
                                    <label>消费积分比例：10%</label>
                                </div>
                                <div class="control-group">
                                    <label>联系手机：13689395622</label>
                                </div>
                                <div class="control-group">
                                    <label>是否需要星级：是</label>
                                </div>
                                <div class="control-group">
                                    <label>是否使用展示模板：否</label>
                                </div>
                                <div class="control-group">
                                    <label>单笔储值最大值：1000元</label>
                                </div>
                            </form>

                        </div>
                        <div class="modal-footer">
                            <div class="col-sm-offset-2 col-sm-10">
                                <a class="edit_basic_info" href="#edit_basic_info"><button type="submit" class="btn btn-info" id="info_edit"><font color="#fff">编辑</font></button></a>
                                <a class="cancle_basic_info" href="#shangjia_basic_info_list"><button type="submit" class="btn btn-info"  id="info_return"><font color="#fff">返回</font></button></a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

                <!--zlz:商家基本信息维护隐藏-->
            <!-- Modal -->
            <div class="modal fade" id="myModal_edit_basic_info" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                <div class="modal-dialog">
                    <div class="modal-content" style="color:black;">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                            <h4 class="modal-title" id="myModalLabel">商家基本信息维护</h4>
                        </div>
                        <div class="modal-body" style="height:450px;">
                            <form>
                                <!--zlz：查看申请概况-->
                                <div class="control-group">
                                    <!-- Text input-->
                                    <label class="control-label col-sm-3" for="input01">商家账号：</label>
                                    <div class="col-sm-9" >
                                        <input value="001" class="form-control" type="text" style="width:300px" id="info_edit_merchant_account">
                                    </div>
                                </div>
                                <div class="control-group">
                                    <!-- Text input-->
                                    <label class="control-label col-sm-3" for="input01">商家名称：</label>
                                    <div class="col-sm-9">
                                        <input value="商家A" class="form-control" type="text" style="width:300px" id="info_edit_merchant_name">
                                    </div>
                                </div>
                                <div class="control-group">
                                    <!-- Select Basic -->
                                    <label class="control-label col-sm-3">商家地址：</label>
                                    <div class="col-sm-9" style="left:-15px">
                                        <div class="col-sm-4">
                                            <select name="herolist" value="省" class="select-block" id="info_edit_province">
                                                <option value="0">湖北省</option>
                                                <option value="0">四川省</option>
                                            </select>
                                        </div>

                                        <div class="col-sm-4" >
                                            <select name="herolist" value="市" class="select-block" id="info_edit_city">
                                                <option value="0">武汉市</option>
                                                <option value="0">孝感市</option>
                                            </select>
                                        </div>
                                        <div class="col-sm-4" >
                                            <select name="herolist" value="区" class="select-block" id="info_edit_district">
                                                <option value="0">武昌区</option>
                                                <option value="0">汉口区</option>
                                                <option value="0">汉阳区</option>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="control-group">
                                    <label class="control-label col-sm-3" for="input01">商家类型：</label>
                                    <div class="col-sm-9">
                                        <div class="col-xs-4" style="left:-15px;">
                                            <select name="herolist" value="美食" class="select-block" id="info_edit_merchant_type">
                                                <option value="0">美食</option>
                                                <option value="1">酒店</option>
                                                <option value="2">票价</option>
                                                <option value="3">旅游</option>
                                                <option value="4">购物</option>
                                                <option value="5">娱乐</option>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="control-group">
                                    <!-- Text input-->
                                    <label class="control-label col-sm-3" for="input01">商家电话：</label>
                                    <div class="col-sm-9">
                                        <input value="商家电话：027-1234567" class="form-control" type="text" style="width:300px" id="info_edit_phone">
                                    </div>
                                </div>
                                <div class="control-group">
                                    <!-- Text input-->
                                    <label class="control-label col-sm-3" for="input01">消费积分比例：</label>
                                    <div class="col-sm-9" >
                                        <input value="50%" class="form-control" type="text" style="width:300px;position:relative" id="info_edit_rate">
                                        <p class="help-block">请填写0到1之间任意值</p>
                                    </div>
                                </div>

                                <div class="control-group">
                                    <!-- Text input-->
                                    <label class="control-label col-sm-4" for="input01">单笔储值最大值：</label>
                                    <div class="col-sm-8" style="left:-65px">
                                        <input value="110" class="form-control col-sm-4" type="text" style="width:70px;position:relative;">
                                        <label class="control-label col-sm-4" for="input01" >元</label>
                                    </div>
                                </div>
                                <div class="control-group" style="float:left">
                                    <!-- Text input-->
                                    <label class="control-label col-sm-3" for="input01" style="width:200px">商家启用：</label>
                                    <div class="col-sm-9" style="left: 100px; top: -40px">
                                        <input type="checkbox" data-toggle="switch" id="info_edit_use"/>
                                    </div>
                                </div>
                                <div class="control-group" style="float:left">
                                    <!-- Text input-->
                                    <label class="control-label col-sm-3" for="input01" style="width:200px">是否需要星级：</label>
                                    <div class="col-sm-9" style="left:100px; top: -40px">
                                        <input type="checkbox" data-toggle="switch" />
                                    </div>
                                </div>
                                <div class="control-group" style="float:left;">
                                    <!-- Text input-->
                                    <label class="control-label col-sm-2" for="input01" style="width:200px">是否使用展示模板：</label>
                                    <div class="col-sm-10" style="left:140px;top:-40px">
                                        <input type="checkbox" data-toggle="switch" />
                                    </div>
                                </div>
                            </form>
                        </div>
                        <div class="modal-footer">
                            <div class="col-sm-offset-2 col-sm-10">
                                <a class="success_edit_basic_info" href="#shangjia_basic_info_list"><button type="submit" class="btn btn-info" id="info_edit_sub" ><font color="#fff">确认</font></button></a>
                                <a class="cancle_edit_basic_info" href="#shangjia_basic_info_list"><button type="submit" class="btn btn-info" id="info_edit_cancel"><font color="#fff">取消</font></button></a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <br><br><br><br><br><br><br><br><br>
                <!--zlz:礼品兑换信息列表-->
            <div id="gift_info_list" >
            <div class="blocktop">
                <legend>礼品兑换信息</legend>
            </div>
            <div class="xljform" style="padding:20px;">
                <div class="control-group">
                    <div class="row" align="center">
                        <div class="col-sm-6" align="right">
                                     <a href="#addSubcount_form">
                                          <button  type="button" class="btn btn-info" id="gifts_get_Btn" onclick="gifts_get_Btn_click();">查询</button>
                                     </a>
                        </div>
                    </div>
                </div>
            </div>
                 <br><br>
                    <!--zlz：商家基本信息列表-->
                    <div id="gifts_get_Btn_click_div" style="display:none;">
                    <span><font size="4">当前共有4条礼品兑换记录</font></span>
                    <div class="mytable">
                        <table class="table">
                            <thead>
                                <tr>
                                    <th>礼品名称</th>
                                    <th>礼品图片</th>
                                    <th>所需积分</th>
                                    <th>兑换数量</th>
                                    <th>剩余数量</th>
                                    <th>操作人</th>
                                    <th>操作时间</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <td>礼品A</td>
                                    <td>有</td>
                                    <td>200</td>
                                    <td>2</td>
                                    <td>50</td>
                                    <td>张丽珠</td>
                                    <td>2014-7-11</td>
                                </tr>
                                <tr>
                                    <td>礼品B</td>
                                    <td>无</td>
                                    <td>100</td>
                                    <td>3</td>
                                    <td>30</td>
                                    <td>张丽珠</td>
                                    <td>2014-7-11</td>
                                </tr>
                                <tr>
                                    <td>礼品C</td>
                                    <td>无</td>
                                    <td>50</td>
                                    <td>5</td>
                                    <td>40</td>
                                    <td>张丽珠</td>
                                    <td>2014-7-11</td>
                                </tr>
                                <tr>
                                    <td>礼品D</td>
                                    <td>有</td>
                                    <td>30</td>
                                    <td>6</td>
                                    <td>100</td>
                                    <td>张丽珠</td>
                                    <td>2014-7-11</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                </div>

                <!--zlz:外层div标记-->
                </div>
    </div>

</div>


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    
    <script src="assets/js/docs.min.js"></script>

    <script src="js/jquery-1.8.3.min.js"></script>
    <script src="js/jquery-ui-1.10.3.custom.min.js"></script>
    <script src="js/jquery.ui.touch-punch.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/bootstrap-select.js"></script>
    <script src="js/bootstrap-switch.js"></script>
    <script src="js/flatui-checkbox.js"></script>
    <script src="js/flatui-radio.js"></script>
    <script src="js/jquery.tagsinput.js"></script>
    <script src="js/jquery.placeholder.js"></script>
    <script src="js/jquery.stacktable.js"></script>
    <script src="js/application.js"></script>
    <script src="js/xlj/xljvip.js"></script>
    <script src="js/xlj/xljyys.js"></script>
    <script src="js/xlj/bg.js"></script>
    <script src="js/henryzhaojs/yyfglzx.js"></script>
    <script type="text/javascript">

        //zlz:后面可以加参数，和后台传数据
        function Agree() {
            alert("已通过审核，点击确定返回列表");
            $('#myModal_shenqing_xiangqing').modal('hide');
            var z = document.getElementById("shenqing_list");
            $("html, body").animate({
                scrollTop: $(z).offset().top + "px"
            }, {
                duration: 500,
                easing: "swing"
            });
        }
        function DisAgree() {
            alert("未通过审核，点击确定返回列表");
            $('#myModal_shenqing_xiangqing').modal('hide');
            var z = document.getElementById("shenqing_list");
            var z = document.getElementById("shenqing_list");
            $("html, body").animate({
                scrollTop: $(z).offset().top + "px"
            }, {
                duration: 500,
                easing: "swing"
            });
            var d = document.getElementById("shenqing_xiangqing");
            d.hidden = "hidden";
        }
        function Agree1() {
            alert("分配成功，点击确定返回列表");
            $('#myModal_fenpei_zhanghao').modal('hide');
            var z = document.getElementById("shenqing_list");
            $("html, body").animate({
                scrollTop: $(z).offset().top + "px"
            }, {
                duration: 500,
                easing: "swing"
            });
            var d = document.getElementById("fenpei");
            d.hidden = "hidden";
        }
        function Cancle() {
            $('#myModal_fenpei_zhanghao').modal('hide');
            var z = document.getElementById("shenqing_list");
            $("html, body").animate({
                scrollTop: $(z).offset().top + "px"
            }, {
                duration: 500,
                easing: "swing"
            });
            var d = document.getElementById("fenpei");
            d.hidden = "hidden";
        }
        function DisAgree2() {
            alert("未通过审核，点击确定返回列表");
            var z = document.getElementById("zhanshi_list");
            $("html, body").animate({
                scrollTop: $(z).offset().top + "px"
            }, {
                duration: 500,
                easing: "swing"
            });
            var d = document.getElementById("shangjia_zhanshi_xiugai_xiangqing");
            d.hidden = "hidden";
        }
        $(document).ready(function () {


            $("a.xiangqing").click(function () {
                //var d = document.getElementById("shenqing_xiangqing");
                //d.hidden = "";
                //$("html, body").animate({
                //    scrollTop: $($(this).attr("href")).offset().top + "px"
                //}, {
                //    duration: 500,
                //    easing: "swing"
                //});
                //var a = document.getElementById("fenpei_zhanghao");
                //a.hidden = "hidden";
                $('#myModal_shenqing_xiangqing').modal('show');
                return false;
            });
            $("a.shangjia_xiangqing").click(function () {
                

                $('#myModal_shangjia_xiangqing').modal('show');
                return false;
            });
            $("a.fenpei").click(function () {


                $('#myModal_fenpei_zhanghao').modal('show');
                return false;
            });
            $("a.edit").click(function () {

                $('#myModal_shangjia_xiangqing').modal('hide');
                $('#myModal_edit_shangjia').modal('show');
                return false;
            });
            $("a.cancle_shangjia").click(function () {

                $('#myModal_shangjia_xiangqing').modal('hide');
                var zz = document.getElementById("shangjia_list");
                $("html, body").animate({
                    scrollTop: $(zz).offset().top + "px"
                }, {
                    duration: 500,
                    easing: "swing"
                });
                return false;
            });
            $("a.success_edit_shangjia").click(function () {
                alert("修改成功，点击确定返回列表");
                $('#myModal_edit_shangjia').modal('hide');
                var zz = document.getElementById("shangjia_manage");
                $("html, body").animate({
                    scrollTop: $(zz).offset().top + "px"
                }, {
                    duration: 500,
                    easing: "swing"
                });
                return false;
            }); 
            $("a.cancle_edit_shangjia").click(function () {

                $('#myModal_edit_shangjia').modal('hide');
                var zz = document.getElementById("shangjia_manage");
                $("html, body").animate({
                    scrollTop: $(zz).offset().top + "px"
                }, {
                    duration: 500,
                    easing: "swing"
                });
                return false;
            });
            $("a.shangjia_zhanshi_xiangqing").click(function () {
                $('#myModal_shangjia_zhanshi_xiugai_xiangqing').modal('show');

                return false;
            });
            $("a.success_edit_zhanshi").click(function () {
                alert("已通过审核，点击确定返回列表");
                $('#myModal_shangjia_zhanshi_xiugai_xiangqing').modal('hide');
                var z = document.getElementById("zhanshi_list_anchor");
                $("html, body").animate({
                    scrollTop: $(z).offset().top + "px"
                }, {
                    duration: 500,
                    easing: "swing"
                });

                return false;
            });
            $("a.cancle_edit_zhanshi").click(function () {
                alert("未通过审核，点击确定返回列表");
                $('#myModal_shangjia_zhanshi_xiugai_xiangqing').modal('hide');
                var z = document.getElementById("zhanshi_list_anchor");
                $("html, body").animate({
                    scrollTop: $(z).offset().top + "px"
                }, {
                    duration: 500,
                    easing: "swing"
                });
                var d = document.getElementById("shangjia_zhanshi_xiugai_xiangqing");
                d.hidden = "hidden";

                return false;
            });
            $("a.zhanshi_xiangqing_chaxun").click(function () {

                $('#myModal_shangjia_zhanshi_xiugai_chaxun').modal('show');
                return false;
            });
            $("a.goback_zhanshi_list").click(function () {

                $('#myModal_shangjia_zhanshi_xiugai_chaxun').modal('hide');
                var z = document.getElementById("zhanshi_list_anchor");
                $("html, body").animate({
                    scrollTop: $(z).offset().top + "px"
                }, {
                    duration: 500,
                    easing: "swing"
                });

                return false;
            });
            $("a.edit_shangjiao").click(function () {
                $('#myModal_edit_shangjiao').modal('show');
                return false;
            });
            $("a.success_edit_shangjiao").click(function () {
                alert("修改成功，点击确定返回列表");

                $('#myModal_edit_shangjiao').modal('hide');
                var z = document.getElementById("shangjiao_list");
                $("html, body").animate({
                    scrollTop: $(z).offset().top + "px"
                }, {
                    duration: 500,
                    easing: "swing"
                });

                return false;
            });
            $("a.cancle_edit_shangjiao").click(function () {
                $('#myModal_edit_shangjiao').modal('hide');
                var z = document.getElementById("shangjiao_list");
                $("html, body").animate({
                    scrollTop: $(z).offset().top + "px"
                }, {
                    duration: 500,
                    easing: "swing"
                });

                return false;
            });
            $("a.register_card").click(function () {

                $('#myModal_register_card').modal('show');

                return false;
            });
            $("a.success_get_card").click(function () {
                alert("领取成功，点击确定返回列表");
                $('#myModal_register_card').modal('hide');
                var z = document.getElementById("get_card");
                $("html, body").animate({
                    scrollTop: $(z).offset().top + "px"
                }, {
                    duration: 500,
                    easing: "swing"
                });

                return false;
            });
            $("a.cancle_get_card").click(function () {

                $('#myModal_register_card').modal('hide');
                var z = document.getElementById("get_card");
                $("html, body").animate({
                    scrollTop: $(z).offset().top + "px"
                }, {
                    duration: 500,
                    easing: "swing"
                });

                return false;
            });
            $("a.get_card_history").click(function () {

                $('#myModal_get_card_history').modal('show');

                return false;
            });
            $("a.cancle_get_card_history").click(function () {

                $('#myModal_get_card_history').modal('hide');
                var z = document.getElementById("get_card");
                $("html, body").animate({
                    scrollTop: $(z).offset().top + "px"
                }, {
                    duration: 500,
                    easing: "swing"
                });

                return false;
            });
            $("a.basic_info").click(function () {
               

                $('#myModal_shangjia_basic_info').modal('show');

                return false;
            });
            
            $("a.cancle_basic_info").click(function () {


                $('#myModal_shangjia_basic_info').modal('hide');
                var z = document.getElementById("shangjia_basic_info_list");
                $("html, body").animate({
                    scrollTop: $(z).offset().top + "px"
                }, {
                    duration: 500,
                    easing: "swing"
                });

                return false;
            });
            $("a.edit_basic_info").click(function () {

                $('#myModal_shangjia_basic_info').modal('hide');

                $('#myModal_edit_basic_info').modal('show');
               

                return false;
            });
              
            $("a.success_edit_basic_info").click(function () {
                alert("修改成功，点击确定返回列表");
                $('#myModal_edit_basic_info').modal('hide');
                var z = document.getElementById("shangjia_basic_info_list");
                $("html, body").animate({
                    scrollTop: $(z).offset().top + "px"
                }, {
                    duration: 500,
                    easing: "swing"
                });

                return false;
            });
            $("a.cancle_edit_basic_info").click(function () {
                $('#myModal_edit_basic_info').modal('hide');
                var z = document.getElementById("shangjia_basic_info_list");
                $("html, body").animate({
                    scrollTop: $(z).offset().top + "px"
                }, {
                    duration: 500,
                    easing: "swing"
                });

                return false;
            });

            $("a.shangjia_basic_info_list").click(function () {
                var z = document.getElementById("gift_info_list");
                z.hidden = "hidden";
				var z = document.getElementById("shangjia_basic_info_list");
                z.hidden = "";
                
                $("html, body").animate({
                    scrollTop: $($(this).attr("href")).offset().top + "px"
                }, {
                    duration: 500,
                    easing: "swing"
                });

                return false;
            });
            $("a.gift_info_list").click(function () {
				var d = document.getElementById("gift_info_list");
                d.hidden = "";
                var z = document.getElementById("shangjia_basic_info_list");
                z.hidden = "hidden";
                var z1 = document.getElementById("shangjia_basic_info");
                z1.hidden = "hidden";
                var z2 = document.getElementById("edit_basic_info");
                z2.hidden = "hidden";
                
                $("html, body").animate({
                    scrollTop: $(d).offset().top + "px"
                }, {
                    duration: 500,
                    easing: "swing"
                });

                return false;
            });

            //zlz:试一下
            var urlinfo = window.location.href; //获取当前页面的url
            var len = urlinfo.length;//获取url的长度
            var offset = urlinfo.indexOf("?");//设置参数字符串开始的位置
            var idinfo = urlinfo.substr(offset, len)//取出参数字符串 这里会获得类似“id=1”这样的字符串
            var ids = idinfo.split("=");//对获得的参数字符串按照“=”进行分割
            var manager_Id = ids[1];

            var manager = document.getElementById("zlz_manager");
            manager.textContent = manager_Id;
            

        });
    </script>




</body>
</html>
